#include "node_class.h"

Node::Node()
{
	leftNode = NULL;
	rightNode = NULL;
	label = NULL;
}

Node::Node(std::string* Nodelabel, Node *left, Node *right)
{
	if(Nodelabel != NULL)
		label = new string(Nodelabel->c_str());
	else
		label = NULL;
	leftNode = left;
	rightNode = right;
}

Node::~Node()
{
	delete label;
}